package com.sy.dto;

import com.sy.entity.Commit;
import com.sy.entity.TechTime;
import com.sy.entity.Trainer;

import java.util.List;

public class TrainerDto {
    private Integer driSchoolId;
    private String driName;
    private Trainer trainer;
    private List<TechTime>techTimeList;
    private List<Commit> commitList;

    public TrainerDto() {
    }

    public TrainerDto(Integer driSchoolId, String driName, Trainer trainer, List<TechTime> techTimeList, List<Commit> commitList) {
        this.driSchoolId = driSchoolId;
        this.driName = driName;
        this.trainer = trainer;
        this.techTimeList = techTimeList;
        this.commitList = commitList;
    }

    public Trainer getTrainer() {
        return trainer;
    }

    public void setTrainer(Trainer trainer) {
        this.trainer = trainer;
    }

    public List<TechTime> getTechTimeList() {
        return techTimeList;
    }

    public void setTechTimeList(List<TechTime> techTimeList) {
        this.techTimeList = techTimeList;
    }

    public List<Commit> getCommitList() {
        return commitList;
    }

    public void setCommitList(List<Commit> commitList) {
        this.commitList = commitList;
    }

    public Integer getDriSchoolId() {
        return driSchoolId;
    }

    public void setDriSchoolId(Integer driSchoolId) {
        this.driSchoolId = driSchoolId;
    }

    public String getDriName() {
        return driName;
    }

    public void setDriName(String driName) {
        this.driName = driName;
    }

    @Override
    public String toString() {
        return "TrainerDto{" +
                "driSchoolId=" + driSchoolId +
                ", driName='" + driName + '\'' +
                ", trainer=" + trainer +
                ", techTimeList=" + techTimeList +
                ", commitList=" + commitList +
                '}';
    }
}
